@import './design/styles/index.less';
@import './assets/menu_font/index.less';
@import './assets/material_font/index.less';

.gx-pro-full-screen {
  scrollbar-color: var(--ant-primary-color) var(--ant-primary-2);
  scrollbar-width: thin;
  -ms-overflow-style: none;
  position: relative;
  padding: 24px;

  &::-webkit-scrollbar {
    width: 3px;
    height: 1px;
  }

  &::-webkit-scrollbar-thumb {
    background: var(--ant-primary-color);
    border-radius: 3px;
  }

  &::-webkit-scrollbar-track {
    background: @primary-3;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0);
  }
}

#gx-pro-admin {
  height: 100%;
}

.@{gx-prefix}-code-block {
  position: relative;

  .ant-typography-expand,
  .ant-typography-edit,
  .ant-typography-copy {
    position: absolute;
    top: 5px;
    right: 10px;
  }

  .@{gx-prefix}-code {
    padding: 0.2em 0.4em 0.1em;
    margin: 0 0.2em;
    font-size: 85%;
    background: rgba(150, 150, 150, 0.1);
    border: 1px solid rgba(100, 100, 100, 0.2);
    border-radius: 3px;
  }
}

.@{gx-prefix}-markdown-demo {
  padding: 40px 24px;
  background-color: rgb(240, 242, 245);
}

.@{gx-prefix}-markdown-code {
  padding: 2px 5px;
  color: #d56161;
  background: #f6f7f9;
}

.@{gx-prefix-pro}-iframe-page-main {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  border: 0;
}

.image-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #909399;
  background: #fafafa;

  .iconfont {
    font-size: 24px;
  }

  .anticon {
    font-size: 24px;
  }
}

body .@{gx-prefix-pro}-confirm-delete .ant-modal-confirm-body .anticon {
  color: @color_ff4d4f;
}

.customicon {
  font-style: normal;
  color: inherit;
  text-align: center;
  text-transform: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
